<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<link rel="stylesheet" href="css/cal.css"></link>
		<title>
			<?= $title ?>
		</title>
	</head>
	<body>
		<div id="error_messages">
			<ul>
			<?php foreach($error_messages as $error_message): ?>
				<li class="error_message"><?= $error_message ?></li>
			<?php endforeach?>
			</ul>
		</div>
		<div id="nav">
			<?php include('views/nav.php') ?>
		</div>
		<div id="content">
			<?= $content ?>
		</div>
	</body>
</html>